# SPDX-License-Identifier: LGPL-2.1+

test_units = [
  'test-dhcp-dhclient',
  'test-dhcp-utils',
]

foreach test_unit: test_units
  exe = executable(
    test_unit,
    test_unit + '.c',
    dependencies: libnetwork_manager_test_dep,
    c_args: test_c_flags,
  )

  test(
    'dhcp/' + test_unit,
    test_script,
    args: test_args + [exe.full_path()],
    timeout: default_test_timeout,
  )
endforeach
